Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
C
1) Assert H
2) Beginners
3) Code Snippets
4) Console
5) Ctype H
6) Data Structure Algorithm
7) Data Type
8) Development
9) File
10) Function
11) Games Graphic
12) Hardware Interaction
13) Language Basics
14) Linux
15) Macro Preprocessor
16) Math
17) Math H
18) Memory
19) Pointer
20) Setjmp H
21) Signal H
22) Small Application
23) Stdio H
24) Stdlib H
25) String
26) String H
27) Structure
28) Time H
29) Unix
30) Wctype H
File
1) A prime example using binary files
2) Change stream buffering
3) Check for errors
4) Check if End Of File has been reached
5) Close a stream
6) Compare files
7) Copy a file
8) Copy a file in reverse order
9) Copy one file to another
10) Count the number of characters in a file
11) Create a file, write content and read the content
12) Create temp file name
13) Delete a file
14) Delete file
15) Delete file 2
16) Encryption-Decryption
17) File content seek
18) File Encryption Program in C
19) Fprintf demo
20) Fscanf() - fprintf() example
21) Generate a unique temporary filename
22) Get a string from a stream
23) Get file name from command line and open the file
24) Get string from file
25) Get the next character
26) Get the next character from a stream
27) Get the next int value from a stream
28) Menu Driven File Attribute Changing Utility
29) Messing about with formatted file IO
30) Open a file
31) Open a file and close it
32) Open a file and read its content using fgetc
33) Open a file for read
34) Open a temporary file
35) Program to write even and odd integers into different files
36) Read and check if the file end has been reached
37) Read and write array into file
38) Read formatted data from a stream
39) Reading strings from a file in reverse order
40) Reads files and displays them on the screen
41) Redirect the printf to file
42) Rename a file
43) Rename a file or directory
44) Reopen a file
45) Reopen a stream with a different file and mode
46) Reposition file pointer to a saved location
47) Reposition streams pointer indicator
48) Reset file position indicator to start of the file
49) Reset the file reader pointer
50) Return the current position in a stream
51) Save and read string into a file
52) Save and write different type of value into file
53) Save string into file
54) Save text content into a file
55) Search a set of numbers
56) Search specified file for specified character
57) Seek a byte in file
58) Seek array element in a file
59) Set the file pointer to the beginning of a stream
60) Substitutes spaces for tabs in a text file and supplies error checking
61) Use fprintf and fscanf to save and read file
62) Use fprintf to save
63) Use fwrite and fread to save and read
64) Viewing the contents of a file
65) Write a block of data to a stream
66) Write and read the entire array in one step
67) Write character to stdout
68) Write character to stream
69) Write non string content
70) Write out file
71) Write some non-character data to a disk file and read it back
72) Write string to a stream
73) Writing a file a character at a time
74) Writing names and phone numbers to a file
75) Writing strings to a file